﻿<%@ Control Language="VB" Inherits="System.Web.Mvc.ViewUserControl" %>
<table class="data-table">
    <thead>
        <tr>
            <th>
                &nbsp
            </th>
            <th>
                Security Role
            </th>
        </tr>
    </thead>
    <tbody>
        <% For Each item In ViewData("Roles")%>
        <tr>
            <td width="20px">
                <%= Html.CheckBox(String.Format("cbxRole_{0}", item.ID), ViewData(String.Format("SelectedRole_{0}", item.ID)) IsNot Nothing)%>
            </td>
            <td>
                <%: item.Description%>
            </td>
        </tr>
        <% Next%>
    </tbody>
</table>
